#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# ======================================================
# @File:      : test88
# @Author     : forward_huan
# @Date       : 2024/11/16 15:01
# @Desc       :
# ======================================================
from typing import List


class Solution:
    def merge(self, nums1: List[int], m: int, nums2: List[int], n: int) -> None:
        """
        Do not return anything, modify nums1 in-place instead.
        """
        nums1 = nums1[:m] + nums2[:n]
        nums1.sort(key=lambda x: x)
        print(nums1)


print(Solution().merge(nums1=[1, 2, 3, 0, 0, 0], m=3, nums2=[2, 5, 6], n=3))
